# Contributor: 7heo <7heo@mail.com>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=homebank
pkgver=5.7.3
pkgrel=0
pkgdesc="Free personal finance software, money management"
url="http://homebank.free.fr"
arch="all"
license="GPL-2.0-or-later"
makedepends="gtk+3.0-dev libsoup3-dev libofx-dev intltool"
options="!check" # no test suite
subpackages="$pkgname-lang"
source="http://homebank.free.fr/public/sources/homebank-$pkgver.tar.gz"

build() {
	./configure \
		--host=$CHOST \
		--build=$CBUILD \
		--prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
516809ae95873f70d44995093ebe981e70cf2111490db19dbac1d4f4df95fec9bd21c56eea3d91bf4c81e58de4277da035297e9eb6a0d1fd4450dbff764c0ba1  homebank-5.7.3.tar.gz
"
